package com.wlk.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wlk.mapper.AccountingYearMapper;
import com.wlk.pojo.AccountingYear;
import com.wlk.service.AccountingYearService;
import com.wlk.utils.Result;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service
public class AccountingYearServiceImpl extends ServiceImpl<AccountingYearMapper, AccountingYear> implements AccountingYearService {
@Resource
private AccountingYearMapper accountingYearMapper;
    @Override
    public Result getYearList() {
        return Result.ok(accountingYearMapper.getYearList());
    }
}
